#!/bin/bash

a=1
while (( $a <= 10 )); do
  mkdir test_dir$a
  b=1
  while (( $b <= 10 )); do
    touch test_dir$a/$b.txt
    ((b++))
  done
  ((a++))
done
